<?phpuse Illuminate\Database\Eloquent\Model;class tuikelevelModel extends Model{	protected $table 		= 'tuike_level';	public	  $primaryKey	= 'level';    public $timestamps = false;    public function getUpgradeRulesAttribute()    {        return $this->attributes['upgrade_rules'] ? json_decode($this->attributes['upgrade_rules']) : (new stdClass);    }    public function getAwardZhituiAttribute()    {        return $this->attributes['award_zhitui'] ?: 0;    }    public function getAwardJiantuiAttribute()    {        return $this->attributes['award_jiantui'] ?: 0;    }}